﻿@model PlmPersonnelAttendanceViewModel
@{
    Layout = null;
    ViewBag.Title = "人员考勤-编辑";
}
<script type="text/javascript">
    function dialogRefresh(json) {
        DWZ.ajaxDone(json);
        if (json.statusCode == DWZ.statusCode.ok) {
            $("#pagerForm", navTab.getCurrentPanel()).submit();
            $.pdialog.closeCurrent();
        }
    }
</script>
<form method="post" action="@Url.Action("PersonnelAttendanceEditData", "PlmPersonnelAttendance")" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogRefresh)">
<div class="pageFormContent sortDrag" layouth="58">
    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_ID, new { @type = "hidden" })
    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_Date, new { @type = "hidden" })
    <table class="tab01 tabNo">
        <tr>
            <td class="td1" style="width:25%;">所属单位：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_UnitName, new { @readonly = "readonly", @size = "30px",@class="input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">合同段：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_UnitCode, new { @readonly = "readonly", @size = "30px", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">姓名：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_PersonnelName, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">工号：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_JobNum, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">应出勤天数：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_WorkDay, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">出勤天数：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_AttendanceDay, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">缺勤天数：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_AbsenceDay, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">请假天数：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_LeaveDay, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">请假记录：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_LeaveRecord, new { @readonly = "readonly", @class = "input02" })
            </td>
        </tr>
        <tr>
            <td class="td1">罚款金额：</td>
            <td>
                @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_Fine, new {  @class = "input02" })
            </td>
        </tr>
    </table>
</div>
<div class="formBar">
    <ul>
        <li>
            <button type="submit" class="btn btn-sm">
                保存</button>
        </li>
        <li>
            <button type="button" class="close btn btn-default btn-sm">
                取消</button>
        </li>
    </ul>
</div>
</form>
